<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>wx</title>
</head>
<body>
  <script src="bundle.js"></script>
  <script src="bundle.cjs.js"></script>
  <script src="bundle.esm.js"></script>
  <script src="../../dist/jweixin.min.js"></script>
  <script>
    console.log('window.wx');
    console.log(window.wx);
    console.log('window.jWeixin');
    console.log(window.jWeixin);
    console.log('wx === jWeixin: ', wx === jWeixin);
    if (window.wx.default === window.wx) {
      throw new Error('wx.default === wx');
    }
  </script>
</body>
</html>
